package mybatis.service.impl;

import java.util.List;

import org.apache.bcel.generic.RET;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import mybatis.dao.StudentDao;
import mybatis.entity.Student;
import mybatis.service.IMybatisService;

@Service
public class MybatisServcieImpl implements IMybatisService {
    @Autowired
    private StudentDao studentDao;

    @Override
    public List<Student> getStudents() {
        // TODO Auto-generated method stub
        return studentDao.queryInfoList();
    }

}
